maf46@burn.cl.cam.ac.uk [Fri, 18 Feb 2005 14:10:50 +0000 (14:10 +0000)]
bitkeeper revision 1.1205.1.4 (4215f76aKShpc2MoKv20Ho-I6PFwGg)
Bug fixes for out-of-bounds bug in the rewrite of debugtrace_printk
maf46@burn.cl.cam.ac.uk [Fri, 18 Feb 2005 13:32:50 +0000 (13:32 +0000)]
bitkeeper revision 1.1205.1.3 (4215ee82GVkS6-XQcYeidECo27K1Qw)
Added a keybinding for dumping the debugtrace_printf's
maf46@burn.cl.cam.ac.uk [Thu, 17 Feb 2005 23:25:18 +0000 (23:25 +0000)]
bitkeeper revision 1.1205.1.2 (421527deX3t0INFwjrOweq0E7Le7pw)
Rename fields in arch_exec_domain to be more uniform.
Promote vmx_shadow_invlpg() to shadow_invlpg().
maf46@burn.cl.cam.ac.uk [Thu, 17 Feb 2005 21:14:30 +0000 (21:14 +0000)]
bitkeeper revision 1.1205.1.1 (42150936fR3KSFT51o4AFy0i4Fg7Vg)
Merge burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk/tmp
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk
maf46@burn.cl.cam.ac.uk [Thu, 17 Feb 2005 21:11:52 +0000 (21:11 +0000)]
bitkeeper revision 1.1203.1.2 (42150898CXjY7WEQQX0UPd8XVrticw)
Minor cleanup of vmx debug messages
maf46@burn.cl.cam.ac.uk [Thu, 17 Feb 2005 21:06:48 +0000 (21:06 +0000)]
bitkeeper revision 1.1203.1.1 (42150768_GVy_di2OIi0ljHAGVf4VA)
Be careful to continue using the 1:1 pagetable if we take a vmexit
before the vmx guest switches into protected/paged mode.
mafetter@fleming.research [Mon, 14 Feb 2005 13:05:43 +0000 (13:05 +0000)]
bitkeeper revision 1.1205 (4210a227vRYVUcnauYxPh32urj991w)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
Signed-off-by: michael.fetterman@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 14 Feb 2005 12:25:30 +0000 (12:25 +0000)]
bitkeeper revision 1.1201.1.1 (421098bauUknclk2-oQphDo3ZBC1Vw)
Major ia64 update -- now boots dom0.
Signed-off-by: dan.magenheimer@hp.com
Signed-off-by: ian.pratt@cl.cam.ac.uk
mafetter@fleming.research [Mon, 14 Feb 2005 12:17:38 +0000 (12:17 +0000)]
bitkeeper revision 1.1204 (421096e2bPRPzPc4dLX7thZr1TdfZA)
Fixed unnecessary rebuilds of all of Xen each time, due to
asm-offset.h
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Mon, 14 Feb 2005 12:17:32 +0000 (12:17 +0000)]
bitkeeper revision 1.1203 (421096dcaYyLUeJDWzUpv9mpMfjHfQ)
Merge cleanups.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Mon, 14 Feb 2005 12:09:23 +0000 (12:09 +0000)]
bitkeeper revision 1.1202 (421094f3xaph8Fy7S7CActoJAtqz7g)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Mon, 14 Feb 2005 12:07:59 +0000 (12:07 +0000)]
bitkeeper revision 1.1196.1.1 (4210949fd4uhxJmk2kIDASV8WbY-4w)
Minor shadow mode cleanups.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 14 Feb 2005 11:42:11 +0000 (11:42 +0000)]
bitkeeper revision 1.1201 (42108e93jNjU6R-4pZQGJCtUzl_HkQ)
Fix SMP booting. Clean up x86/64 a bit.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 14 Feb 2005 10:39:59 +0000 (10:39 +0000)]
bitkeeper revision 1.1200 (42107fffsY27L01xietRjdMzGHiDzw)
x86/64 build fixes and simpler debug tracing.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 14 Feb 2005 02:27:01 +0000 (02:27 +0000)]
bitkeeper revision 1.1199 (42100c75YrRV-rqA2PA8zYLZf22hrw)
Further shadow_mode cleanups in preparation for the new
implementation of translate mode.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sun, 13 Feb 2005 22:00:50 +0000 (22:00 +0000)]
bitkeeper revision 1.1198 (420fce12wkkVt8DoRztlJcYxK80wIw)
minor fixes to earlier pagetable change
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sun, 13 Feb 2005 20:31:57 +0000 (20:31 +0000)]
bitkeeper revision 1.1197 (420fb93dC1WSuJegG_k9TUwX4eFmyw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sun, 13 Feb 2005 20:31:37 +0000 (20:31 +0000)]
bitkeeper revision 1.1194.1.1 (420fb929A6i2BgwaqAFiDYqZMrpIQg)
Re-organise guest_table, shadow_table and monitor_table so that
they always have the meaning their names suggest i.e. in the
hypervisor CR3 always contains monitor_table.
After updating guest_table or any of the shadow state remeber
to call update_pagetables(ed)
One side-effect of this change is that VMX guests now start off with
shadow_mode set to full_32, but actually running on the 1:1 physmap.
We don't actually call update_pagetables() until the VCPU enables
paging, hence ensuring that linear_pg_table is NULL so we bail out
early in shadow_fault if a vmx guest tries to access outside its
memory map. We'll need this for SMP VMX guests so that each VCPU can
enable paging independently. We might need to think further about
this for guests that do IO without paging on - possibly having a
generated pseudo phys pt that the full shadow mode can translate and
shadow.
Signed-off-by: ian@xensource.com
kaf24@viper.(none) [Sat, 12 Feb 2005 21:10:50 +0000 (21:10 +0000)]
bitkeeper revision 1.1196 (420e70da1IwWQhyIdvfGOYQgoJQsJA)
Fix SYSCALL RFLAGS mask.
Signed-off-by: keir@xensource.com
mafetter@fleming.research [Sat, 12 Feb 2005 19:58:43 +0000 (19:58 +0000)]
bitkeeper revision 1.1195 (420e5ff3SFUc-sHp8lfCe-xCoUlk-A)
Hand merge
mafetter@fleming.research [Sat, 12 Feb 2005 17:44:46 +0000 (17:44 +0000)]
bitkeeper revision 1.1159.261.5 (420e408ezTabiELFEcwTxsv6OwQdrw)
Merge fleming.research:/scratch/fleming/mafetter/xen.work/test
into fleming.research:/scratch/fleming/mafetter/xen.work
mafetter@fleming.research [Sat, 12 Feb 2005 17:44:36 +0000 (17:44 +0000)]
bitkeeper revision 1.1159.262.1 (420e4084ZlJS5YFJWSpfbv7WfT4uSg)
Oops -- disable serial console buffer by default.
mafetter@fleming.research [Sat, 12 Feb 2005 17:38:20 +0000 (17:38 +0000)]
bitkeeper revision 1.1159.261.4 (420e3f0ctRGZge_a33H-GsBosW224g)
Cleanup after merge
mafetter@fleming.research [Sat, 12 Feb 2005 17:26:12 +0000 (17:26 +0000)]
bitkeeper revision 1.1159.261.3 (420e3c341h1fbkH3NCtXo63yPlvjGg)
Hand merge
mafetter@fleming.research [Sat, 12 Feb 2005 16:34:28 +0000 (16:34 +0000)]
bitkeeper revision 1.1159.261.2 (420e3014BpIA6NnJTdNQGkfIDMtzmQ)
Added an in-memory ring buffer to which serial console output
can be temporarily redirected. Mode is toggled by the "c" key on
the Xen console.
Nice hack for printk() intensive debugging modes.
When switching back to serial output, the current contents of the
buffer are first dumped. Buffer defaults to 128Kb, but size can
be set on the Xen boot command line.
mafetter@fleming.research [Sat, 12 Feb 2005 14:38:06 +0000 (14:38 +0000)]
bitkeeper revision 1.1159.261.1 (420e14ceCymFrPEpDCTaPJueMUTvsg)
Improved check_pagetable checking.
Added check_all_pagetables as an alternative to check_pagetable().
mafetter@fleming.research [Sat, 12 Feb 2005 13:45:18 +0000 (13:45 +0000)]
bitkeeper revision 1.1159.258.4 (420e086eRqMDAepFfVSrE8gAuTZ1dg)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/xen-2.0-testing.bk
mafetter@fleming.research [Sat, 12 Feb 2005 13:44:54 +0000 (13:44 +0000)]
bitkeeper revision 1.1159.260.2 (420e0856crqXXEkQoCUddas8u5ksXA)
Rename check_pagetable() function to _check_pagetable to make it easier
to selectively enable it during debugging. There's still the same
check_pagetable macro, but now it's used both when SHADOW_DEBUG is
enabled and disabled.
mafetter@fleming.research [Sat, 12 Feb 2005 13:42:57 +0000 (13:42 +0000)]
bitkeeper revision 1.1159.260.1 (420e07e16YlSevQI9RYNGLwarPr2gQ)
Bug fix for shadow code.
When update_va_mapping() updates a entry, the corresponding shadow
entry may not be reachable via the shadow_linear_pg_table, even though
it is currently shadowed, as the corresponding spde has not necessarily
been faulted into place yet.
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 03:11:43 +0000 (03:11 +0000)]
bitkeeper revision 1.1194 (420d73efCMSMj1PHhfobxL2cia_WnQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 03:11:29 +0000 (03:11 +0000)]
bitkeeper revision 1.1192.1.1 (420d73e1O792fPGDMcGMeH_RVU_ZZQ)
Rename arch.pagetable to arch.guest_table
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 03:06:56 +0000 (03:06 +0000)]
bitkeeper revision 1.1193 (420d72d0IYG07QeED-l3FKZf5M7o1g)
fix build
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:52:41 +0000 (01:52 +0000)]
bitkeeper revision 1.1192 (420d6169vOspV7vgQjqPRLjU4Xa-OQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:38:49 +0000 (01:38 +0000)]
bitkeeper revision 1.1191 (420d5e29aNqroO-Dr8i5N9OF0PGu4A)
Subject: [PATCH] xentrace-vmx.patch
- Add VMX specific events to xentrace.
- Rename d -> ed
- cleanup dead code
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:31:55 +0000 (01:31 +0000)]
bitkeeper revision 1.1187.1.1 (420d5c8bry1FsMS2rnyIFoRMthBd2w)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:31:28 +0000 (01:31 +0000)]
bitkeeper revision 1.1184.1.1 (420d5c705_VA4WaJuRZQusYMhaQugg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:30:21 +0000 (01:30 +0000)]
bitkeeper revision 1.1159.258.3 (420d5c2dj-e3ZU_Q3wOxYdZ-yax62A)
Use "ide" as device name and "hdX" as disk name.
Signed-off-by: chris@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:05:30 +0000 (01:05 +0000)]
bitkeeper revision 1.1190 (420d565aLSpnsj5do0f0daHT7JHvkA)
Subject: [PATCH] vmx-shadow-lock.patch
Fix an assertion failure due to not holding the shadow_lock()
Also remove a printk that makes debug=y too verbose.
Fix an assertion that required PERF_COUNTER
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:50:27 +0000 (00:50 +0000)]
bitkeeper revision 1.1189 (420d52d34bmxozCOzbUs5pmo2zfT-w)
Subject: [PATCH] xenctx.patch
Does this sound interesting? I found it useful to debug looping guests.
A gdb stub would be nicer - but this one is lighter weight.
-Arun
Tool for dumping the cpu context
# xenctx 1 0
eip:
c01dfeab esp:
c1603c98
eax:
00000020 ebx:
c0432e10 ecx:
00000ee6 edx:
000001f7
esi:
c0432d60 edi:
00000296 ebp:
c0432d60
cs:
00000060 ds:
00000068 fs:
00000000 gs:
00000033
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:48:04 +0000 (00:48 +0000)]
bitkeeper revision 1.1188 (420d5244F1WAs2mvIW8E0-0RB5AlRw)
Subject: [PATCH] dm-destroy.patch
Clicking on the power off button calls xm destroy as well.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:43:32 +0000 (00:43 +0000)]
bitkeeper revision 1.1187 (420d5134SJno8yarcAiRNJqFJ5adEA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:41:23 +0000 (00:41 +0000)]
bitkeeper revision 1.1159.259.1 (420d50b3Mu97o7HHZsGGVPlv3ORCOw)
Some VT-x software perf counters.
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 18:55:16 +0000 (18:55 +0000)]
bitkeeper revision 1.1186 (420cff94zgt9FYAF2LFRO_Xztduveg)
Ensure coherency of guest-PDE 'accessed' bits when using shadow page
tables. There is no issue with 'dirty' bits because only PTEs and
super-page PDEs (which we do not support) have 'dirty' bits.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 18:04:56 +0000 (18:04 +0000)]
bitkeeper revision 1.1185 (
420cf3c8-bMMcsnH1kMVRwy5AQ-ecg)
Various mini-os and Xen fixes. The M2P table is now definitely
accessible (read-only) from guest context.
Signed-off-by: keir.fraser@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:42:22 +0000 (16:42 +0000)]
bitkeeper revision 1.1184 (420ce06eLX3IXXYgfWOdCOQZS6HoDg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:40:00 +0000 (16:40 +0000)]
bitkeeper revision 1.1177.2.1 (420cdfe0gnE29cMitOCxShEE2d_lRA)
Sync w/ 2.0-testing changes.
Signed-off-by: cl349@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:28:22 +0000 (16:28 +0000)]
bitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)
Pass pointer to register set to set_pre_exception_table instead of eip.
Signed-off-by: cl349@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 14:37:07 +0000 (14:37 +0000)]
bitkeeper revision 1.1183 (420cc313TZKdpM4_m9WvFiEqZsQ13w)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xen-unstable.bk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 13:06:19 +0000 (13:06 +0000)]
bitkeeper revision 1.1182 (420cadcbrUDFMXqavPE9gJ-8GmmyoQ)
Make it compile in the non-crashdb case.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 12:48:22 +0000 (12:48 +0000)]
bitkeeper revision 1.1181 (420ca996keP3Po6VzQplsJpxQ7eTyg)
Not sure why BK didn't pick this up last time...
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 12:37:10 +0000 (12:37 +0000)]
bitkeeper revision 1.1180 (420ca6f6iwPf_PBxj1CWyA2TtgM19w)
Get rid of cdb_trap, and replace it with a new function ``call_with_registers''.
Signed-off-by: sos22@cl.cam.ac.uk.
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 11:35:57 +0000 (11:35 +0000)]
bitkeeper revision 1.1177.1.2 (420c989dC_Rdny3XsEcgT2zNba3g6w)
Update ignores list.
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 11:34:22 +0000 (11:34 +0000)]
bitkeeper revision 1.1177.1.1 (420c983eSjbjDYGF-fYWrXw_L7qkLA)
Mini-OS cleanups. Bug fixes in x86_64 assembly code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 10:39:46 +0000 (10:39 +0000)]
bitkeeper revision 1.1179 (420c8b725LGvAqm86f8YBLnAnaHPvQ)
Fixup the fixup code a little.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 10:24:12 +0000 (10:24 +0000)]
bitkeeper revision 1.1178 (420c87ccD2VdHFZVGUqHR4Zd2yI1mg)
After a fatal trap, we want to debug whatever caused the trap rather than the trap
handler. Fix things up accordingly.
Also add some documentation while I'm here.
Signed-off-by: sos22@cl.cam.ac.uk.
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 01:51:41 +0000 (01:51 +0000)]
bitkeeper revision 1.1177 (420c0fadBy7s1H_BwU5gDKjAg1MBFw)
Cleanup cleanups.
Signed-off-by: chris@xensource.com
cl349@arcadians.cl.cam.ac.uk [Thu, 10 Feb 2005 22:58:57 +0000 (22:58 +0000)]
bitkeeper revision 1.1176 (420be7310q_UvcXdnsevIZbXRZHJ4g)
Various cleanups.
Signed-off-by: chris@xensource.com
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:49:57 +0000 (18:49 +0000)]
bitkeeper revision 1.1175 (420bacd51yx4f66j0Yv3tnUwEmeDtw)
Fix x86/64 SYSCALL handling. Handle return to compatibility mode as
well as long mode.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:11:07 +0000 (18:11 +0000)]
bitkeeper revision 1.1174 (420ba3bb5kHKomeIcBm8uzF2u-A5dg)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/foo.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:09:08 +0000 (18:09 +0000)]
bitkeeper revision 1.1172.1.1 (420ba344y-TLJ8cFOVA_8bN7wd3dMw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:59 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.568 (420ba33bo4Ly13qI5cHgZttHha5_-g)
Change do_set_callbacks hypercall for x86/64 to not take any selector
values, but to take a syscall_entry point.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:11 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.567 (420ba30bAq55q3Qi9iVgQ6Cl1_7CNQ)
Fix asm-offsets.h dependencies.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:05:33 +0000 (18:05 +0000)]
bitkeeper revision 1.1173 (420ba26dU4VauWP5oFVWCo3QsMg0Jw)
Make everything compile again.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:26 +0000 (17:25 +0000)]
bitkeeper revision 1.1172 (420b99066Xfg-68mYeFJdp4BIxo_wQ)
Merge douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk
Signed-off-by: sos22@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:09 +0000 (17:25 +0000)]
bitkeeper revision 1.1170.1.1 (420b98f5HLKkq19C9PxLpNFZOD2-mg)
Make it compile in the non-crash_debug case.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:23:56 +0000 (17:23 +0000)]
bitkeeper revision 1.1171 (420b98ac0B3ughFHARZwZjaceYNFUg)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 17:22:33 +0000 (17:22 +0000)]
bitkeeper revision 1.1159.1.566 (420b9859IEtfznEUT481JP1bxIJ7YA)
Fix IDT handling. x86/64 doesn't need an IDT per CPU. On x86/32 I have
put the IDT copying back to where it was, very late in the boot process.
Otherwise I miss late modifications to the master IDT. This fixes
problems I was seeing with serial line interrupts getting msidirected.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:20 +0000 (17:16 +0000)]
bitkeeper revision 1.1170 (420b96e4lQdbo7fzNNwrsgmrzMJExQ)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:04 +0000 (17:16 +0000)]
bitkeeper revision 1.1169 (420b96d48xPe7Ok5mXEY_QuvSxXLxw)
Improve documentation a little.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:51 +0000 (17:15 +0000)]
bitkeeper revision 1.1168 (420b96c7tDX3WAggwXBacK-2DjNySg)
Trap to debugger from a fatal trap.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:32 +0000 (17:15 +0000)]
bitkeeper revision 1.1167 (420b96b4EStXs5M4SVJpHN9DT5wwkQ)
smp_send_stop sometimes reenabled interrupts. Make sure it doesn't.
mjw@wray-m-3.hpl.hp.com [Thu, 10 Feb 2005 17:13:35 +0000 (17:13 +0000)]
bitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)
Fixes to make the vnet module compile under 2.6.10.
Thanks to Brian Bruce for spotting the problem and
suggesting fixes.
Signed-off-by: Mike Wray <mike.wray@hp.com>
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:06:57 +0000 (17:06 +0000)]
bitkeeper revision 1.1166 (420b94b19VPINEpnyrORsIwqTctjAA)
Add in a very brief description of how it's supposed to work.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:56:14 +0000 (16:56 +0000)]
bitkeeper revision 1.1165 (420b922egKp-aJPtYkOkWGp2ZSNQAA)
Get rid of some annoying debug.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:49:23 +0000 (16:49 +0000)]
bitkeeper revision 1.1164 (420b9093tZfwUqS7PQW_U7NLqOc72Q)
Make sure we disable the watchdog while we're in the debugger.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:45:11 +0000 (16:45 +0000)]
bitkeeper revision 1.1163 (420b8f97P8m2OsC2o8di9OVsBppT2Q)
Arrange for it to work (some of the time) on modern Xen.
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 15:20:15 +0000 (15:20 +0000)]
bitkeeper revision 1.1159.1.565 (420b7bafUdB4uOmG-Qm1AYMify0jrQ)
p2m and m2p tables are now 4 bytes per entry always, even on x86/64.
Fixed mapping of m2p table into kernel space on x86/64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 14:38:46 +0000 (14:38 +0000)]
bitkeeper revision 1.1162 (420b71f6yarVsHEUH8wBvGFgIVSTBQ)
Re-sanify after merge.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 13:17:10 +0000 (13:17 +0000)]
bitkeeper revision 1.1161 (420b5ed6DpcotfvpA5TTxShadFd_MQ)
Merge with non-ancient version of Xen.
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 11:26:37 +0000 (11:26 +0000)]
bitkeeper revision 1.1159.1.564 (420b44edsb8XzPev-TiGW16GSsCW6g)
More x86_64 stuff. Added hypercalls to register a user-space pagetable,
modify FS/GS base addresses, and switch to user mode. User mode switches
back to kernel mode automatically on executing SYSCALL instruction.
Still todo: 1. getdomaininfo needs to include pagetable_user
2. get writable and shadow pagetables working
3. testing
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Thu, 10 Feb 2005 02:27:48 +0000 (02:27 +0000)]
bitkeeper revision 1.1159.1.563 (420ac6a4CzlgvLZ7nmENZh1uJh51Ng)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 23:23:30 +0000 (23:23 +0000)]
bitkeeper revision 1.1159.223.85 (420a9b72OGag4m4sDtlxM-918tbudQ)
Subject: [Xen-devel] VNET - full update
Allows vnets to compile and run under 2.6.10/xen-testing.
PATCH: vnet-cleanup.patch
Signed off by: bgb@nt-nv.com
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 19:44:49 +0000 (19:44 +0000)]
bitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)
Subject: [Xen-devel] [PATCH 1/2] netfront coding style clean-up (trivial)
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:38 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.1.562 (420a5d22B5wTDaFFOL7CfKG24g-JCA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:13 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.257.1 (420a5d09baXJPJiifdfGaELY297KOw)
Refactor code to eliminate some code duplication.
- added gva_to_gpte
- gva_to_gpa uses gva_to_gpte now
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 17:14:35 +0000 (17:14 +0000)]
bitkeeper revision 1.1159.1.561 (
420a44fbc4-bx17m5WWwDlyH93ab-g)
Some simple renaming. 'guestos' -> 'kernel'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 16:24:23 +0000 (16:24 +0000)]
bitkeeper revision 1.1159.1.560 (420a3937bsia3-KUKXK3oI9TTu7gaA)
Loads more x86_64 work. entry.S is now done so we reflect exceptions
and interrupts to the guest. The only missing parts are new hypercalls
to set FS_BASE, GS_BASE_KERN, GS_BASE_USER. Also the concept of two
L4 pagetable bases -- one for user, one for kernel.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 10:16:50 +0000 (10:16 +0000)]
bitkeeper revision 1.1159.1.559 (4209e312Ii3Tsz9q9NZb2CbM0b1BzA)
More x86_64 work. do_mmu_update and update_va_mapping are now done.
Still todo: 1. exception/interrupt callbacks to guest OS
2. OS ring 3 vs. application ring 3
3. writable pagetables and shadow pagetables
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:59:54 +0000 (02:59 +0000)]
bitkeeper revision 1.1159.1.558 (
42097caa-4C6IJxUdk1DgyyzixbYBg)
Merge tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:58:09 +0000 (02:58 +0000)]
bitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)
Subject: [Xen-devel] [PATCH] Fix initrd support for Linux 2.4/2.6
The following patch sets the default root device to be the null device.
This is the behavior Linux is launched with no root device specified in
the command line and without a device provided by the boot loader.
Previously, the default root device was set to be /dev/ram0. This broke
initrd support. This change was made in 2.6 to because of a bug
reported on September 14th with dynamic ipconfig. I've recreated his
problem and looked through the code and the source of the problem was
that his kernel command line was incorrect. He was missing the BOOTP
field in the config line requiring that there be an actual root device.
This worked with 2.4 but only because 2.4 was also broken. His patch
just introduced that bug into 2.6.
I've tested this against the 2.6 and 2.4 trees in a recent copy of
xen-unstable. I've tested initrd support and ipconfig support
(including dynamic ip support). They both now work as expected.
If anyone needs an initrd for testing let me know.
Regards,
--
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Signed-off-by: Anthony Liguori
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Wed, 9 Feb 2005 00:02:37 +0000 (00:02 +0000)]
bitkeeper revision 1.1159.1.557 (4209531dcD_85ru3nT6SL_v6qHidAA)
Subject: [PATCH] mmio-decode-movz.patch
- Handle the movz instruction in the decoder. This was necessary to get
X working.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:57:18 +0000 (23:57 +0000)]
bitkeeper revision 1.1159.1.556 (420951de12d7YPCDmxFldoqZYbe2cw)
Subject: [PATCH] pit-in-hv.patch
- Use ac_timer for PIT interrupt injection (more accurate time keeping)
- Accelerate some critical PIT I/O operations in the hypervisor
(saves 15us per op). Cuts down guest timer interrupt handler execution time
by a third.
- If the domain is scheduled out, make sure that interrupts are not lost
- Add a generic framework for device I/O interception
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:17:38 +0000 (23:17 +0000)]
bitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)
Fix the synchronization issues between xend and the device model at
startup time.
Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:41:47 +0000 (22:41 +0000)]
bitkeeper revision 1.1159.1.554 (4209402bTjMxzBx8aPHpjveufoaubQ)
manual merge
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:39:08 +0000 (22:39 +0000)]
bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
minor stats collection addition
ian@xensource.com
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:32 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.1.553 (420919acSbg0z7dds_B0PhykDN6vYA)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:24 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.256.1 (420919a4fFt2x7Ej4o_xqAI2CSYN8Q)
mmu_update fixes for x86_64. About halfway there.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:54:32 +0000 (19:54 +0000)]
bitkeeper revision 1.1159.1.552 (420918f8LzMe7S_sxvvaHtdM_xcpYg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:53:55 +0000 (19:53 +0000)]
bitkeeper revision 1.1159.255.3 (420918d3OV9YNdw3dCaE6e4udrKnDA)
manual merge
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:52:18 +0000 (19:52 +0000)]
bitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)
debug memory audit cleanups + comment fix from Jon Mason.
Signed-off-by: ian.pratt@cl.cam.ac.uk